<?php

use CodeIgniter\Router\RouteCollection;

/**
 * @var RouteCollection $routes
 */
$routes->get('/', 'Home::index');

$routes->get('/home', 'Home::index');

$routes->get('/Info', 'Home::Info');

$routes->get('Athletes', 'Athletes::index');

$routes->post('/Athletes/handle', 'Athletes::handle');

$routes->get('/Athletes/edit/(:any)', 'Athletes::edit/$1'); 

$routes->get('/Athletes/create', 'Athletes::create');

$routes->get('/Athletes/showme/(:any)', 'Athletes::showme/$1'); 

$routes->get('/image/(:any)', 'Media::image/$1');